{% extends "single.html" %}
{% block title %}{{ page_title }}{% endblock %}
{% block styles %}
    <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}styles/userslist.css">
{% endblock %}
{% block main %}  
	<div class="message">
        {% if messages %}
        <ul class="messages">
            {% for message in messages %}
                <li>{{ message }}</li>
            {% endfor %}
        </ul>   
        {% endif %}
    </div>
    <div class="userlist">
        <h3>{{ taruser.username }}的关注</h3>
        <ul>
            {% if followerslist %}
                {% for follower in followerslist %}
                    <li>
                        <div class="avatar50">
                            <img src="/media/uploads/avatar/50/{{ follower.profile.avatar }}">
                        </div>
                        <div class="profile">
                            <strong><a href="{% url mblog_user_index follower.username %}">{{ follower.username }}</a></strong>
                        </div>
                        <div class="area">
                            <em><label>所在地 :</label>{{ follower.about }}</em>
                        </div>
                        <div class="about">
                            <p><label>简介 :</label>{{ follower.about }}</p>
                        </div>
                        <div class="operating">
                            <a href="{% url mblog_follower_del taruser.username follower.username %}">取消关注</a>
                            <a href="{% url mblog_privatemsg_add user.username follower.username  %}">发送私信</a>
                        </div>
                        <div class="clear"></div>
                    </li>
                {% endfor %}
            {% else %}
                <li class="nonetweet"><a href="{% url mblog_userslist %}">你还没有关注，赶快去关注朋友吧</a></li>
            {% endif %}
        </ul>
    </div> 

    {% include 'include/paginator.html' %}
{% endblock %}
